package cs.ui250.carnatic;

public class Swara {
	
	public String name, location;
	public int ID;
	
	//Constructor
	Swara(String name, String location){
		this.name = name;
		this.location = location;
		
		if (name.equals("S"))
			ID = 1;
		if (name.equals("R1"))
			ID = 2;
		if (name.equals("R2"))
			ID = 3;
		if (name.equals("G1"))
			ID = 4;
		if (name.equals("R3"))
			ID = 5;
		if (name.equals("G2"))
			ID = 6;
		if (name.equals("G3"))
			ID = 7;
		if (name.equals("M1"))
			ID = 8;
		if (name.equals("M2"))
			ID = 9;
		if (name.equals("P"))
			ID = 10;
		if (name.equals("D1"))
			ID = 11;
		if (name.equals("D2"))
			ID = 12;
		if (name.equals("N1"))
			ID = 13;
		if (name.equals("D3"))
			ID = 14;
		if (name.equals("N2"))
			ID = 15;
		if (name.equals("N3"))
			ID = 16;		
	}
	
	
	
}
